<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,shrink-to-fit=no">
    <title>Document</title>
    <style>
    .container{
    width: 500px;
    height: 330px;
    margin: 10px auto;
    overflow: hidden;
    position: relative;
  }
  .carousel{
    width: 100%;
    height: 100%;
    display: flex;
    transition: 0.5s;
  }
  .container .carousel img{
    width: 500px;
    height: 300px;

  }
  .content {
      display: grid;
      grid-template-columns: 1fr 3fr;
      grid-gap: 20px;
      margin-left: 200px;
      padding: 20px;
    }

    .article {
      max-width: 100%;
      border: 1px solid #ddd;
      padding: 20px;
    }

    /* 页脚样式 */
    .footer {
      background-color: #333;
      color: #fff;
      padding: 20px;
      text-align: center;
    }

    /* 轮播图样式 */
    .slideshow-container {
      max-width: 100%;
      position: relative;
      margin: auto;
    }

    .slideshow-container img {
      width: 100%;
      height: auto;
    }

    .slideshow-container .slide {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
    }

    .slideshow-container .slide.active {
      display: block;
    }

    </style>
    <link rel="stylesheet" href="bootstrap-4.5.0-dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
                    <nav class="navbar navba-expand-sm bg-dark navbar-dark">
                      
                          <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navtop">
                          <span class="navbar-toggler-icon"></span>
                        </button>
                          <div class="collapse navbar-collapse" id="navtop"></div>
    <ul class="nav nav-pills">
        <li class="nav-item dropdown">
            <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">首页</a>
            <ul class="dropdown-menu">
                <li><a href="#">登录</a>
                </li>
                <li>
                    <a href="#">注册</a>
                </li>
            </ul>
        </li>
        <li class="nav-item">
            <a href="#menu1" class="nav-link" data-toggle="tab">每日一图</a>
        </li>
        <li class="nav-item">
            <a href="#menu2" class="nav-link" data-toggle="tab">文章分类</a>
        </li>
    </ul>
    
                  </nav>
            
                </aside>
                <div>
                  <div class="content">
                    <div class="article">
                      <div class="slideshow-container">
                        <div class="slide active">
                          <img src="img/big1.webp" alt="图片1">
                        </div>
                        <div class="slide">
                          <img src="img/big01.webp" alt="图片2">
                        </div>
                        <div class="slide">
                          <img src="img/big02.webp" alt="图片3">
                        </div>
                        <div class="list-container">
                    <aside>
                    
                          </div>
                      </div>
                    </div>
                                <!-- <a><div class="box-left">&lt</div></a>
                                    <a><div class="box-right">&gt</div></a> -->
                                        <a><div class="box-zhiding">
                <ul>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                </ul>
                    </div>
                  </div>
                  <script type="text/javascript" src="jquery-3.4.1.min.js">
                   
                    var slides = document.querySelectorAll('.slide');
    var currentSlide = 0;

    function showSlide(n) {
      for (var i = 0; i < slides.length; i++) {
        slides[i].classList.remove('active');
      }
      slides[n].classList.add('active');
    }

    function nextSlide() {
      currentSlide++;
      if (currentSlide >= slides.length) {
        currentSlide = 0;
      }
      showSlide(currentSlide);
    }

    setInterval(nextSlide, 3000);
                  </script>
</body>
</html>